<?php
$cate_id = $_GET["category_ID"];
require_once('/utils/DAOResource.php');
 $con = new DAOResource;
$con-> getConnection(); 

$sql="Select * from product where CATEGORY_ID = ".$cate_id;
$query = mysql_query($sql);

while($row = mysql_fetch_array($query))
{
	echo "<h2> $row[PRO_NAME] </h2></br>";
	echo "<img src=$row[PRO_IMAGE] width='142' /> </br>";
	echo "<a href = view.php?productID=$row[PRO_ID]>  View </a></br>";
}
?>